To work around, have two agents which use the same script library. One agent should be a Scheduled agent and one can be triggered Manually from Action Menu or Agent List.