Retrieve scripts and options