hello I am tring to create a new MQ QCF in WAS 5.0

here is the script I am using but have been unsuccessful, can anyone see exactly what I'm doing wrong
thanks.

set newjmsp [$AdminConfig getid /JMSProvider:/]
$AdminConfig required MQQueueConnectionFactory
set name [list name myqcf]
set jndi [list jndiName jms/myqcf]
set mqqcfAttrs [list $name $jndi]
$AdminConfig create MQQueueConnectionFactory $newjmsp $mqqcfAttrs
$AdminConfig save